﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace NCC_SOP.dynamic_rpt.ATU
{
    public partial class ATUWorkload : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            rptViewer.ShowCredentialPrompts = true;
            rptViewer.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote;
            rptViewer.ServerReport.ReportServerUrl = new Uri("http://ncdata01:8080/reportserver"); // Report Server URL
            rptViewer.ServerReport.ReportPath = "/SOC/ATU_duration_workload_report"; // Report Name

            rptViewer.ShowParameterPrompts = true;
            rptViewer.ShowPrintButton = true;

            string rptID = Request.QueryString["rptID"];
            Session["currViewingRpt"] = rptID;
        }
    }
}